package editer 
{
	import editer.commands.StartupCommand;
	import flash.display.DisplayObjectContainer;
	import flash.display.StageAlign;
	import flash.display.StageScaleMode;
	import org.robotlegs.xxl.base.ContextSignal;
	import org.robotlegs.xxl.mvcs.Context;
	import org.xxl.iso.IsoWorld;
	
	/**
	 * ...
	 * @author XXL
	 */
	public class EditerContext extends Context 
	{
		
		public function EditerContext(contextView:DisplayObjectContainer) 
		{
			super(contextView);
		}
		
		override public function startup():void 
		{
			contextView.stage.scaleMode = StageScaleMode.NO_SCALE;
			contextView.stage.align = StageAlign.TOP_LEFT;
			signalCommandMap.mapSignalClass(ContextSignal, StartupCommand);
			viewMap.mapType(IsoWorld);
			super.startup();
		}
	}

}